package org.flowers.unbeaten.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.flowers.unbeaten.base.entity.Role;

import java.util.List;

/**
 * <p>
 * 角色 Mapper 接口
 * </p>
 *
 * @author RyanWang
 * @since 2021-07-15
 */
public interface RoleMapper extends BaseMapper<Role> {

    /**
     * 获取角色列表数据
     * @param role
     * @return
     */
    List<Role> selectRoles(@Param("role") Role role);

}
